﻿using Glorysoft.EAP.Core.Entities;
using Newtonsoft.Json;
using System.Collections.Generic;

namespace Glorysoft.EAP.Contracts.MESClient.Models
{

    public class LotinfoResponse : BaseResponse
    {
        public LOT Lot { get; set; }
        /// <summary>
        /// 载具号
        /// </summary> 
        public string carrierName { get; set; }
        public string carrierType { get; set; }
        /// <summary>
        /// 设备ID
        /// </summary>
        public string equipmentId { get; set; }
        public List<CARRIERLIST> CARRIERLIST { get; set; }
        public List<ITEMLIST> ITEMLIST { get; set; }
        public List<LOSSINFOLIST> LOSSINFOLIST { get; set; }
       
    }
    public class LOT
    {
        public string batchId { get; set; }
        public string lotId { get; set; }
        public string lotType { get; set; }
        /// <summary>
        /// 工艺号
        /// </summary>
        public string processName { get; set; }
        /// <summary>
        /// 产品号
        /// </summary>
        public string productName { get; set; }
        /// <summary>
        /// 流程号
        /// </summary>
        public string procedureName { get; set; }
        /// <summary>
        /// 工步
        /// </summary>
        public string operationName { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public string qty { get; set; }
        public string recipe { get; set; }
        /// <summary>
        /// Unit信息
        /// </summary>
        public List<UNIT> UnitList { get; set; }
        public List<UNITLIST> UNITLIST { get; set; }
    }

    public class UNIT
    {
        public string slot { get; set; }
        public string recipeId { get; set; }
        public string lotid { get; set; }
        public string unitId { get; set; }
        /// <summary>
        /// 是否加工
        /// </summary>
        public string trackInFlag { get; set; }
    }
   
}
